home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.12.gz
/
1994.12
/
000009_karney@pppl.gov_Thu Dec 1 11:08:52 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-12-30
|
2KB
Received: from pppl.gov by cs.umb.edu with SMTP id AA16702
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 1 Dec 1994 16:08:57 -0500
Received: from draco.pppl.gov (draco.pppl.gov [198.35.6.44]) by pppl.gov (8.6.8.1/8.6.5) with ESMTP id QAA18493; Thu, 1 Dec 1994 16:08:53 -0500
From: Charles Karney <karney@pppl.gov>
Received: (karney@localhost) by draco.pppl.gov (8.6.9/8.6.9) id QAA03115; Thu, 1 Dec 1994 16:08:52 -0500
Date: Thu, 1 Dec 1994 16:08:52 -0500
Message-Id: <199412012108.QAA03115@draco.pppl.gov>
To: tex-k@cs.umb.edu
Subject: Mode setting in config.PRINTER does not overred setting in config.ps
Reply-To: karney@princeton.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
With dvipsk 5.58c on a Sun Sparc Solaric 2.3 system compiled with gcc
2.6.2, and a vanilla configuration.
/usr/local/lib/texmf/dvips/config.ps contains:
D 300
M cx
/usr/local/lib/texmf/dvips/config.sparc1 contains:
D 400
M sparcptr
Run dvips with
dvips -Psparc1 file.dvi
and MakeTeKPK is called with
kpathsea: Running MakeTeXPK cmr10 400 400 1+0/400 cx
Apparently the resolution setting in config.sparc1 has overridden the
setting in config.ps while the mode setting has not. This is contrary to
the documentation: "Thus, the printer configuration file can override
anything in the global or user configuration file."
Shouldn't the precendence for the mode setting thus be: command-line,
config.PRINTER, .dvipsrc, config.ps, compile-time default
The fault lies somewhere in the logic in getdefaults in resident.c
case 'M' :
/* If we had the compilation default, replace it. But
if they specified one with -mode, keep it. */
if (!mfmode)
mfmode = configstring(was_inline+1, 0) ;
break ;
which prevents the later "M" line from overriding the earlier one.
--
Charles Karney
Plasma Physics Laboratory E-mail: Karney@Princeton.EDU
Princeton University Phone: +1 609 243 2607
Princeton, NJ 08543-0451 FAX: +1 609 243 2662